#include <easyx.h>
#include <stdio.h>

#define PI 3.14

int main()
{
    initgraph(1024, 1024);

    setbkcolor(WHITE);
    cleardevice();

    setlinecolor(BLACK);
    setlinestyle(PS_SOLID, 10);
    setfillcolor(BLUE);
    fillellipse(118, 100, 990, 906);

    setfillcolor(WHITE);
    fillellipse(189, 256, 919, 906);

    fillellipse(375, 145, 555, 395);
    fillellipse(555, 145, 735, 395);

    setfillcolor(BLACK);
    solidcircle(484, 308, 25);
    solidcircle(617, 308, 25);

    setfillcolor(WHITE);
    solidcircle(484, 308, 10);
    solidcircle(617, 308, 10);

    setfillcolor(RED);
    fillcircle(554, 395, 35);

    line(554, 435, 554, 603);
    line(404, 603, 754, 603);
    arc(284, 463, 424, 603, PI * 2 / 3, PI * 3 / 2);
    fillpie(354, 403, 754, 803, PI, 2 * PI);

    setlinestyle(PS_SOLID, 6);
    line(504, 440, 215, 364);
    line(604, 440, 893, 364);
    line(490, 475, 160, 475);
    line(618, 475, 948, 475);
    line(504, 510, 215, 587);
    line(604, 510, 893, 587);

    getchar();
    closegraph();

    return 0;
}
